<template>
	<view style="padding-top: 10rpx;">
		<view class="item">
			<view class="label">打印资产编号</view>
			<view class="v-box">
				<u-switch v-model="printAssetNumber" @change="changePrintAssetNumber"></u-switch>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				printAssetNumber:uni.getStorageSync("printAssetNumber") || false
			}
		},
		methods: {
			changePrintAssetNumber:function(e){
				uni.setStorageSync("printAssetNumber",e)
			}
		}
	}
</script>

<style scoped>
.item{
	background-color: #fff;
	display: flex;
	align-items: center;
	padding: 10px;
}
.label{
	flex:1;
}
</style>
